<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewEntradaSalidaArticulosTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewEntradaSalidaArticulosLabel_nroMovimiento}"/>
                    <h:outputText value="#{entradaSalidaArticulosController.selected.nroMovimiento}" title="#{bundle.ViewEntradaSalidaArticulosTitle_nroMovimiento}"/>
                    <h:outputText value="#{bundle.ViewEntradaSalidaArticulosLabel_fecha}"/>
                    <h:outputText value="#{entradaSalidaArticulosController.selected.fecha}" title="#{bundle.ViewEntradaSalidaArticulosTitle_fecha}">
                        <f:convertDateTime pattern="MM/dd/yyyy" />
                    </h:outputText>
                    <h:outputText value="#{bundle.ViewEntradaSalidaArticulosLabel_tipoMovimiento}"/>
                    <h:outputText value="#{entradaSalidaArticulosController.selected.tipoMovimiento}" title="#{bundle.ViewEntradaSalidaArticulosTitle_tipoMovimiento}"/>
                    <h:outputText value="#{bundle.ViewEntradaSalidaArticulosLabel_cantidad}"/>
                    <h:outputText value="#{entradaSalidaArticulosController.selected.cantidad}" title="#{bundle.ViewEntradaSalidaArticulosTitle_cantidad}"/>
                    <h:outputText value="#{bundle.ViewEntradaSalidaArticulosLabel_nroDocumento}"/>
                    <h:outputText value="#{entradaSalidaArticulosController.selected.nroDocumento}" title="#{bundle.ViewEntradaSalidaArticulosTitle_nroDocumento}"/>
                    <h:outputText value="#{bundle.ViewEntradaSalidaArticulosLabel_observaciones}"/>
                    <h:outputText value="#{entradaSalidaArticulosController.selected.observaciones}" title="#{bundle.ViewEntradaSalidaArticulosTitle_observaciones}"/>
                    <h:outputText value="#{bundle.ViewEntradaSalidaArticulosLabel_codArticulo}"/>
                    <h:outputText value="#{entradaSalidaArticulosController.selected.codArticulo}" title="#{bundle.ViewEntradaSalidaArticulosTitle_codArticulo}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{entradaSalidaArticulosController.destroyAndView}" value="#{bundle.ViewEntradaSalidaArticulosDestroyLink}"/>
                <br />
                <br />
                <h:link outcome="Edit" value="#{bundle.ViewEntradaSalidaArticulosEditLink}"/>
                <br />
                <h:commandLink action="#{entradaSalidaArticulosController.prepareCreate}" value="#{bundle.ViewEntradaSalidaArticulosCreateLink}" />
                <br />
                <h:commandLink action="#{entradaSalidaArticulosController.prepareList}" value="#{bundle.ViewEntradaSalidaArticulosShowAllLink}"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{bundle.ViewEntradaSalidaArticulosIndexLink}"/>

            </h:form>
        </ui:define>
    </ui:composition>

</html>
